/**
 * 引入fetch、baseUrl
 * @param params
 * @returns {*}
 */
import {fetch, APIURL} from './index.js'

// 首页接口
export function index(params) {
  return fetch(`${APIURL}/api/index/index`, 'post', params)
};

// 学区房查询
export function schooldistrict(params) {
  return fetch(`${APIURL}/api/School/schooldistrict`, 'post', params)
};

// 发现
export function discovery(params) {
  return fetch(`${APIURL}/api/index/discovery`, 'post', params)
};
